Optimal. Leaf size=108 \[ -\frac {(1-2 x)^{3/2} (5 x+3)^3}{3 (3 x+2)}+\frac {5}{7} (1-2 x)^{3/2} (5 x+3)^2-\frac {10}{63} (1-2 x)^{3/2} (27 x+22)+\frac {8}{9} \sqrt {1-2 x}-\frac {8}{9} \sqrt {\frac {7}{3}} \tanh ^{-1}\left (\sqrt {\frac {3}{7}} \sqrt {1-2 x}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 108, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {97, 153, 147, 50, 63, 206} \begin {gather*} -\frac {(1-2 x)^{3/2} (5 x+3)^3}{3 (3 x+2)}+\frac {5}{7} (1-2 x)^{3/2} (5 x+3)^2-\frac {10}{63} (1-2 x)^{3/2} (27 x+22)+\frac {8}{9} \sqrt {1-2 x}-\frac {8}{9} \sqrt {\frac {7}{3}} \tanh ^{-1}\left (\sqrt {\frac {3}{7}} \sqrt {1-2 x}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 50
Rule 63
Rule 97
Rule 147
Rule 153
Rule 206
Rubi steps
\begin {align*} \int \frac {(1-2 x)^{3/2} (3+5 x)^3}{(2+3 x)^2} \, dx &=-\frac {(1-2 x)^{3/2} (3+5 x)^3}{3 (2+3 x)}+\frac {1}{3} \int \frac {(6-45 x) \sqrt {1-2 x} (3+5 x)^2}{2+3 x} \, dx\\ &=\frac {5}{7} (1-2 x)^{3/2} (3+5 x)^2-\frac {(1-2 x)^{3/2} (3+5 x)^3}{3 (2+3 x)}-\frac {1}{63} \int \frac {(-288-810 x) \sqrt {1-2 x} (3+5 x)}{2+3 x} \, dx\\ &=\frac {5}{7} (1-2 x)^{3/2} (3+5 x)^2-\frac {(1-2 x)^{3/2} (3+5 x)^3}{3 (2+3 x)}-\frac {10}{63} (1-2 x)^{3/2} (22+27 x)+\frac {4}{3} \int \frac {\sqrt {1-2 x}}{2+3 x} \, dx\\ &=\frac {8}{9} \sqrt {1-2 x}+\frac {5}{7} (1-2 x)^{3/2} (3+5 x)^2-\frac {(1-2 x)^{3/2} (3+5 x)^3}{3 (2+3 x)}-\frac {10}{63} (1-2 x)^{3/2} (22+27 x)+\frac {28}{9} \int \frac {1}{\sqrt {1-2 x} (2+3 x)} \, dx\\ &=\frac {8}{9} \sqrt {1-2 x}+\frac {5}{7} (1-2 x)^{3/2} (3+5 x)^2-\frac {(1-2 x)^{3/2} (3+5 x)^3}{3 (2+3 x)}-\frac {10}{63} (1-2 x)^{3/2} (22+27 x)-\frac {28}{9} \operatorname {Subst}\left (\int \frac {1}{\frac {7}{2}-\frac {3 x^2}{2}} \, dx,x,\sqrt {1-2 x}\right )\\ &=\frac {8}{9} \sqrt {1-2 x}+\frac {5}{7} (1-2 x)^{3/2} (3+5 x)^2-\frac {(1-2 x)^{3/2} (3+5 x)^3}{3 (2+3 x)}-\frac {10}{63} (1-2 x)^{3/2} (22+27 x)-\frac {8}{9} \sqrt {\frac {7}{3}} \tanh ^{-1}\left (\sqrt {\frac {3}{7}} \sqrt {1-2 x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.06, size = 70, normalized size = 0.65 \begin {gather*} -\frac {\sqrt {1-2 x} \left (1500 x^4+780 x^3-1005 x^2-442 x+85\right )}{63 (3 x+2)}-\frac {8}{9} \sqrt {\frac {7}{3}} \tanh ^{-1}\left (\sqrt {\frac {3}{7}} \sqrt {1-2 x}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.12, size = 90, normalized size = 0.83 \begin {gather*} \frac {\left (375 (1-2 x)^4-1890 (1-2 x)^3+2415 (1-2 x)^2+224 (1-2 x)-784\right ) \sqrt {1-2 x}}{126 (3 (1-2 x)-7)}-\frac {8}{9} \sqrt {\frac {7}{3}} \tanh ^{-1}\left (\sqrt {\frac {3}{7}} \sqrt {1-2 x}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.97, size = 80, normalized size = 0.74 \begin {gather*} \frac {28 \, \sqrt {7} \sqrt {3} {\left (3 \, x + 2\right )} \log \left (\frac {\sqrt {7} \sqrt {3} \sqrt {-2 \, x + 1} + 3 \, x - 5}{3 \, x + 2}\right ) - 3 \, {\left (1500 \, x^{4} + 780 \, x^{3} - 1005 \, x^{2} - 442 \, x + 85\right )} \sqrt {-2 \, x + 1}}{189 \, {\left (3 \, x + 2\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 1.02, size = 106, normalized size = 0.98 \begin {gather*} -\frac {125}{126} \, {\left (2 \, x - 1\right )}^{3} \sqrt {-2 \, x + 1} - \frac {145}{54} \, {\left (2 \, x - 1\right )}^{2} \sqrt {-2 \, x + 1} + \frac {10}{81} \, {\left (-2 \, x + 1\right )}^{\frac {3}{2}} + \frac {4}{27} \, \sqrt {21} \log \left (\frac {{\left | -2 \, \sqrt {21} + 6 \, \sqrt {-2 \, x + 1} \right |}}{2 \, {\left (\sqrt {21} + 3 \, \sqrt {-2 \, x + 1}\right )}}\right ) + \frac {214}{243} \, \sqrt {-2 \, x + 1} + \frac {7 \, \sqrt {-2 \, x + 1}}{243 \, {\left (3 \, x + 2\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 72, normalized size = 0.67 \begin {gather*} -\frac {8 \sqrt {21}\, \arctanh \left (\frac {\sqrt {21}\, \sqrt {-2 x +1}}{7}\right )}{27}+\frac {125 \left (-2 x +1\right )^{\frac {7}{2}}}{126}-\frac {145 \left (-2 x +1\right )^{\frac {5}{2}}}{54}+\frac {10 \left (-2 x +1\right )^{\frac {3}{2}}}{81}+\frac {214 \sqrt {-2 x +1}}{243}-\frac {14 \sqrt {-2 x +1}}{729 \left (-2 x -\frac {4}{3}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.32, size = 89, normalized size = 0.82 \begin {gather*} \frac {125}{126} \, {\left (-2 \, x + 1\right )}^{\frac {7}{2}} - \frac {145}{54} \, {\left (-2 \, x + 1\right )}^{\frac {5}{2}} + \frac {10}{81} \, {\left (-2 \, x + 1\right )}^{\frac {3}{2}} + \frac {4}{27} \, \sqrt {21} \log \left (-\frac {\sqrt {21} - 3 \, \sqrt {-2 \, x + 1}}{\sqrt {21} + 3 \, \sqrt {-2 \, x + 1}}\right ) + \frac {214}{243} \, \sqrt {-2 \, x + 1} + \frac {7 \, \sqrt {-2 \, x + 1}}{243 \, {\left (3 \, x + 2\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.19, size = 73, normalized size = 0.68 \begin {gather*} \frac {14\,\sqrt {1-2\,x}}{729\,\left (2\,x+\frac {4}{3}\right )}+\frac {214\,\sqrt {1-2\,x}}{243}+\frac {10\,{\left (1-2\,x\right )}^{3/2}}{81}-\frac {145\,{\left (1-2\,x\right )}^{5/2}}{54}+\frac {125\,{\left (1-2\,x\right )}^{7/2}}{126}+\frac {\sqrt {21}\,\mathrm {atan}\left (\frac {\sqrt {21}\,\sqrt {1-2\,x}\,1{}\mathrm {i}}{7}\right )\,8{}\mathrm {i}}{27} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________